home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr52
/
pdxvie.zip
/
FUNCS.OLD
< prev
next >
Wrap
Text File
|
1993-04-01
|
3KB
|
74 lines
#define Panel( lHelp ) EVAL( { | cDefCol | cDefCol := SETCOLOR( 'w+/n' ),;
__BOX( 0, 0, MAXROW(), 79, '▓▓▓▓▓▓▓▓▓' ),;
DEVPOS( MAXROW(), 0 ),;
IF( lHelp, DEVOUT( PADL( 'F1 - HELP', 80 ) ), QQOUT() ),;
SETCOLOR( cDefCol ) } )
#define Shad( nTR, nTC, nBR, nBC, lDoub, cClrs ) ;
EVAL( { | cDefCol | cDefCol := SETCOLOR( IF( EMPTY( cClrs ),;
Nil, cClrs ) ), SETCOLOR( 'w+/n' ),;
__BOX( nTR+1, nTC+2, nBR+1, nBC+2, '░░░░░░░░░' ),;
SETCOLOR( cClrs ), __ATCLEAR( nTR, nTC, nBR, nBC ),;
IF( lDoub, __BoxD( nTR, nTC, nBR, nBC ),;
__ATCLEAR( nTR, nTC, nBR, nBC ) ), SETCOLOR( cDefCol ) } )
#define BoxShad( nTR, nTC, nBR, nBC, cClrs );
EVAL( { | cDefCol | cDefCol:=SETCOLOR( cClrs ),;
RESTSCREEN( nTR+1,nTC+2,nBR+1,nBC+2,;
TRANSFORM( SAVESCREEN( nTR+1,nTC+2,nBR+1,nBC+2 ),;
REPLICATE( 'X', ( nBR-nTR+1 ) * ( nBC-nTC+1 ) ) ) ),;
__BoxD( nTR, nTC, nBR, nBC ),;
__ATClear( nTR+1, nTC+1, nBR-1, nBC-1 ),;
SETCOLOR( cDefCol ) } )
#define Credit();
Panel( .F. );;
Shad( 4, 13, 21, 63, .T., 'w+/b' );;
SETCOLOR( "w+/b" ); DevPos( 5, 17 );;
DevOut( "This Demo was created at" );;
DevPos( 7, 20 ); DevOut( "Main Architect:" );;
DevPos( 9, 20 );;
DevOut( "With a little help from his friends." );;
DevPos( 18, 16 );;
DevOut( "Without their help and @#*%!)$? constructive" );;
DevPos( 19, 19 );;
DevOut( "criticism, you wouldn't be seeing this." );;
SETCOLOR( "GR+/B" ); DevPos( 7, 36 );;
DevOut( "Micheal Todd Charron" ); DevPos( 10, 31 );;
DevOut( "Arturo Austrich" ); DevPos( 11, 31 );;
DevOut( "Michelle Benoit" ); DevPos( 12, 32 );;
DevOut( "Paul Cornect" ); DevPos( 13, 33 );;
DevOut( "Gloria Eade" ); DevPos( 14, 32 );;
DevOut( "Ferdinand Ho" ); DevPos( 15, 35 );;
DevOut( "Fred Ho" ); DevPos( 16, 31 );;
DevOut( "Tony Makhlouta" ); SETCOLOR( "BR+/B" );;
DevPos( 5, 42 ); DevOut( "Nantucket Canada." );;
DevPos( 20, 28 );;
DevOut( "(c) Nantucket Software Canada 1990" );;
DevPos( 24, 79 )
#define SaveFullScreen() cFullScreen := SAVESCREEN( 0, 0, 24, 79 )
#define RestFullScreen() RESTSCREEN( 0, 0, 24, 79, cFullScreen )
#define WaitKey( lCont );
INKEY( 5 ); DEVPOS( 24, 0 ); DEVOUT( 'Press any key to ');;
DEVOUT( IF( lCont, 'Continue . . .', 'Exit . . .') );;
INKEY( 60 )
#define Range( xVar, xExpr1, xExpr2 );
( xVar >= MIN( xExpr1, xExpr2 ) .AND.;
xVar <= MAX( xExpr1, xExpr2 ) )
#define Beep() Tone(300,3)
#define ShadThin( nTR, nTC, nBR, nBC, nBorder, cFGColor, cBGColor );
DISPBEGIN();;
DISPBOX( nTR, nTC + 1, nBR + 1, nBC + 1, '▄▄▄█▀▀▀█', 'n/' + cBGColor );;
DISPBOX( nTR, nTC, nBR, nBC, IF( nBorder, '╔═╗║╝═╚║ ', SPACE( 9 ) ),;
cFGColor ); DISPEND()
#define PressAnyKey();
EVAL( { | cDefCol | cDefCol := SETCOLOR( 'w+/n' ),;
DEVPOS( MAXROW(), 52 ), DEVOUT( 'Press any key to continue...'),;
SETCOLOR( cDefCol ), INKEY( 0 ) } )